home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 3 / AGA Experience Volume 3 (1997)(NFA - SAdENESS)[!].iso / amiga / install < prev    next >
Text File  |  1996-10-23  |  3KB  |  157 lines

  1. ;
  2. ; $VER: CyberAVI installation 1.0 (8.10.96)
  3. ;
  4. ; Copyright (c) 1996 Thore Böckelmann
  5. ;
  6.  
  7. ;****************************************************************************
  8. ;
  9. ; English texts
  10. ;
  11.  
  12. (set #bad-kick "You must have AmigaOS 3.0 (V39) or newer to be able to use CyberAVI.")
  13. (set #bad-cpu "You must have at least an MC68020 to use CyberAVI.")
  14.  
  15. ;****************************************************************************
  16. ;
  17. ; Setup
  18. ;
  19.  
  20. (complete 0)
  21.  
  22. (if (< (/ (getversion) 65536) 39)
  23.   (abort #bad-kick)
  24. )
  25.  
  26. (if (patmatch "68000|68010" (database "cpu"))
  27.   (abort #bad-cpu)
  28. )
  29.  
  30. (set @default-dest "SYS:")
  31. (set @libs-dest "LIBS:")
  32.  
  33. ;****************************************************************************
  34. ;
  35. ; Welcome
  36. ;
  37.  
  38. (welcome)
  39.  
  40. (complete 10)
  41.  
  42. ;****************************************************************************
  43. ;
  44. ; Setup directory
  45. ;
  46.  
  47. (set #destdir
  48.   (askdir
  49.     (prompt "Please select where to install CyberAVI\nA directory 'CyberAVI' will be created automatically")
  50.     (help @askdir-help)
  51.     (default @default-dest)
  52.     (newpath)
  53.   )
  54. )
  55.  
  56. (set #libsdir
  57.   (askdir
  58.     (prompt "Please select where to install necessary libraries")
  59.     (help @askdir-help)
  60.     (default @libs-dest)
  61.   )
  62. )
  63.  
  64. (set @default-dest (tackon #destdir "CyberAVI"))
  65. (set @libs-dest #libsdir)
  66.  
  67. (complete 20)
  68.  
  69. (makedir @default-dest
  70.   (prompt "Creating directory 'CyberAVI'")
  71.   (help @makedir-help)
  72.   (infos)
  73. )
  74.  
  75. (complete 40)
  76.  
  77. ;****************************************************************************
  78. ;
  79. ; Copy main program
  80. ;
  81.  
  82. (copyfiles
  83.   (prompt "Copying CyberAVI...")
  84.   (help @copyfiles-help)
  85.   (source "CyberAVI")
  86.   (dest @default-dest)
  87.   (infos)
  88.   (confirm)
  89. )
  90.  
  91. (complete 60)
  92.  
  93. ;****************************************************************************
  94. ;
  95. ; Copy documentation
  96. ;
  97.  
  98. (copyfiles
  99.   (prompt "Copying documentation...")
  100.   (help @copyfiles-help)
  101.   (source "")
  102.   (pattern "#?.(guide|readme)")
  103.   (dest @default-dest)
  104.   (infos)
  105.   (confirm)
  106. )
  107.  
  108. (complete 80)
  109.  
  110. ;****************************************************************************
  111. ;
  112. ; Install libraries
  113. ;
  114.  
  115. (copylib
  116.   (help @copylib-help)
  117.   (prompt "Copying asyncio.library...")
  118.   (source "asyncio.library")
  119.   (dest @libs-dest)
  120.   (confirm)
  121. )
  122.  
  123. ;****************************************************************************
  124. ;
  125. ; Install GUI
  126. ;
  127.  
  128. (if (askbool
  129.            (prompt "\n\nDo you want to install the Argue interface for CyberAVI?\n(You need to have Argue installed!)")
  130.            (help "You will have to get argue13.lha and argue13a.lha from Aminet to use this graphical user interface.\n\nArgue is ©1996 by Thorsten Stocksmeier")
  131.     )
  132.   (
  133.  
  134.     (copyfiles
  135.       (prompt "Copying interface for CyberAVI...")
  136.       (help @copyfiles-help)
  137.       (source "CyberAVI GUI")
  138.       (dest @default-dest)
  139.       (infos)
  140.       (confirm)
  141.     )
  142.  
  143.     (tooltype
  144.       (dest (tackon @default-dest "CyberAVI GUI"))
  145.       (settooltype "COMMAND" (tackon @default-dest "CyberAVI"))
  146.     )
  147.   )
  148. )
  149. ;****************************************************************************
  150. ;
  151. ; Exit
  152. ;
  153.  
  154. (complete 100)
  155. (exit)
  156.  
  157.